翻訳と辞書
Words near each other
・ Matrix decomposition into clans
・ Matrix determinant lemma
・ Matrix difference equation
・ Matrix differential equation
・ Matrix digital rain
・ Matrix element
・ Matrix element (physics)
・ Matrix equivalence
・ Matrix exponential
・ Matrix Fitness Pro Cycling
・ Matrix function
・ Matrix Games
・ Matrix gamma distribution
・ Matrix geometric method
・ Matrix gla protein
Matrix grammar
・ Matrix group
・ Matrix H
・ Matrix isolation
・ Matrix Jersey Classic
・ Matrix Knowledge
・ Matrix management
・ Matrix Market exchange formats
・ Matrix mechanics
・ Matrix metallopeptidase 12
・ Matrix metallopeptidase 13
・ Matrix metalloproteinase
・ Matrix metalloproteinase inhibitor
・ Matrix method
・ Matrix mixer


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Matrix grammar : ウィキペディア英語版
Matrix grammar
A matrix grammar is a formal grammar in which instead of single productions, productions are grouped together into finite sequences. A production cannot be applied separately, it must be applied in sequence. In the application of such a sequence of productions, the rewriting is done in accordance to the each production in sequence, the first one, second one etc. till the last production has been used for rewriting. The sequences are referred to as matrices.
Matrix grammar is an extension of context-free grammar, and one instance of a Controlled grammar.
== Formal definition ==
A ''matrix grammar'' is an ordered quadruple
:G = (V_N, V_T, X_0, M).
where
* V_N is a finite set of non-terminals
* V_T is a finite set of terminals
* X_0 is a special element of V_N, viz. the starting symbol
* M is a finite set of non-empty sequences whose elements are ordered pairs
:(P, Q), \quad P \in W(V) V_N W(V), \quad Q \in W(V), \quad V = V_N \cup V_T.
The pairs are called productions, written as P \to Q. The sequences are called matrices and can be written as
:m = (\to Q_1, \ldots, P_r \to Q_r ).
Let F be the set of all productions appearing in the matrices m of a matrix grammar G. Then the matrix grammar G is of type-i, i = 0, 1, 2, 3, ''length-increasing'', ''linear'', ''\lambda-free'', ''context-free'' or ''context-sensitive'' if and only if the grammar G_1 = (V_N, V_T, X_0, F) has the following property.
For a matrix grammar G, a binary relation \Rightarrow_G is defined; also represented as \Rightarrow. For any P, Q \in W(V), P \Rightarrow Q holds if and only if there exists an integer r \ge 1 such that the words
:\alpha_1,, \ldots, \alpha_, \quad P_1, \ldots, P_r, \quad R_1, \ldots, R_r, \quad, R^1, \ldots, R^r
over V exist and
* \alpha_i = P and \alpha_ = Q
* m is one of the matrices of G
* \alpha_i = R_i P_i R^i and \alpha_ = R_i Q_i R^i.
If the above conditions are satisfied, it is also said that P \Rightarrow Q holds with (m, R_1) as the ''specifications''.
Let \Rightarrow^ be the reflexive transitive closure of the relation \Rightarrow. Then, the language generated by the matrix grammar G is given by
:L(G) = \.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Matrix grammar」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.